﻿@using StsServerIdentity.Resources
@inject LocService SharedLocalizer
@model SendCodeViewModel
@{
    ViewData["Title"] = @SharedLocalizer.GetLocalizedHtmlString("SEND_VERIFICATION_CODE");
}

<h2>@ViewData["Title"]</h2>

<form asp-controller="Account" asp-action="SendCode" asp-route-returnurl="@Model.ReturnUrl" method="post" class="form-horizontal">
    <input asp-for="RememberMe" type="hidden" />
    <div class="row">
        <div class="col-md-8">
            @SharedLocalizer.GetLocalizedHtmlString("SEND_VERIFICATION_CODE_SELECT")
            <select asp-for="SelectedProvider" asp-items="Model.Providers"></select>
            <button type="submit" class="btn btn-primary">@SharedLocalizer.GetLocalizedHtmlString("SUBMIT")</button>
        </div>
    </div>
</form>

@section Scripts {
    @{await Html.RenderPartialAsync("_ValidationScriptsPartial"); }
}
